import json from "@rollup/plugin-json";

export default [
  {
    input: "./bin/index.js",
    plugins: [json()],
    output: {
      file: "./dist/index.umd.js",
      format: "umd",
      name: "Index",
    }
  },
  {
    input: "./bin/index.js",
    plugins: [json()],
    output: {
      file: "./dist/index.es.js",
      format: "es",
      name: "Index",
    }
  }
]